Check for JSON parser support.

It is a requirement for storing scripts in local storage.
renaming