js unit test setup