Enterprise View implementation in javascript using paper.js