Bug 984111 - JSHint fixes for shared unit test mocks