jasmine up, constructor + factory