jshint fixes
switch to i18n.js