Added loading of javascripts to webpage.