[BUGFIX] Jasmine update triggers JS test fails