fix the scope hack of Rainyjs in hyetograph