Fix $.open. #932