Updated the webpage's Javascript