some js tests