Tidy index.html. Start using jQuery for ajax calls