Switched json to js-mode from json