Added javascript to the page