Stubbed javascript loading with requirejs