removed dependency on PHP

Made index an HTML file and added some more JS to pull the query string instead of using PHP.