Fix JSON to JavaScript

This I'm guessing should be JavaScript, not JSON, because you're actually working with a JS object.

Side note: that is invalid JSON. keys need to be wrapped in quotation marks :)
Merge pull request #1 from edwellbrook/patch-1

Fix JSON to JavaScript