updated jshint settings
simplified cameliser
fixed fallback for undefined locales properties