Integrated beard.js with Rhino