Deleted the footer from index and cleaned up js file