modified order of javascripts