Remove extra css and moved script to a file