Updated JavaScript#getParser() to receive the config as an argument rather than request it from the Configurator