Added extra header to index.html , made some small changes to the code