Added some javascript, json, and jquery functionality