separate js from index.html
added some css