Add coverage to js tests with istanbul