Improved use of arbor.js