quite a few changes: fixed the json and moved it around, created a quick and dirty php script to fetch and return said json, and created a gitignore
added an AJAX method to the js and changed the request methods to GET in the PHP. AJAX is being a pain at the moment
modified the request type
fixed the json return error