changed html & javascript