making extension .json default with fallback to .js

Hi, I've updated the package.json version to 0.3.4 and also changed the extension of the locale files from .js to .json (inline with JSON standard)