Updated with requireJs and Jasmine