Fixes jasmine specs - all test pass.