tidied up my Html and Main Js files