set filetype to javascript, to enable syntax after formatting json