remove onload in jasmine tests in AMD