cleaning up js tests