jasmine2 workaround