AMD style + jasmine tests