Added in the json and a little restructure

might break the js into their own files