start of paper.js