Fixed incorrect comment. Changed regex escaping so it passed jslint