Modified loading of javascripts to attempt to make it load faster