got hash js tests passing