Hi Marc,
looking at your repo with latest commit
526c72652fefca7025614552f5f5ad80d912462c, there is still the problem of variables which are jQuery objects and are not prefixed with $, in the checkIndexName() function.
Otherwise, the code works good and is almost ready for a merge.
I changed those variables and pushed the code. Please check the repo. Next I'll work with the data piker issue. Thank you.
Regards, Thilanka.