Adds JavaScript to my mode menu and .json file recognition.