some js tests pass :)