PM: get in page code coverage to work after test refactor
PM: test refactor - remove some js duplication