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.