Changes to the html javascript