passing p5.element context instead of dom issue #441
fixing mouse positions with canvas offset for touch issue #440
merging upstream changes and loadJSON fix from robynitp