Update perchrose.js

global namespace for data