Added AJAX loading of pages
removed socket
changed pacakge.json