adjusted js-specs to ensure test coverage