Added menu function to html file
Updated php to return json data to better help talk to JavaScript