fix conversion errors from js.el. typescripton-> json

So when you replace js with typescript the following happens:

json => typescripton

this fixes the conversion error.