pen.js line64 change document to doc to reduce variable searching time