Script and css loading fix.