Updated javascript and html file to run basic javascript code on button
click.