Updates to javascript and css loading