simple js tests