tidied up my js and html files