Adding javascripts to the headers