JavaScript js/css sync/async loader