Add JS test infrastructure for TDD