fixed init in jasmine jQuery tests