addressed jshint issues and switched to use window.phetcommon.locale in the config.js