Merged javascript and html to create single page. Deleted unrequired stuff