start fixing js tests
tests working