Fixed error for enabling support for js and json extensions

Downwards compatible for older versions too