Huge update for finally mocking requirejs