Integrating ProcessingJS with an AngularJS app