Integrated javascript to the HTML page.