add functions to prototype and fix returning dummyDOM
add functions to prototype and fix returning dummyDOM

dhowe/p5.js,processing/p5.js,processing/p5.js,limzykenneth/p5.js,dhowe/p5.js,limzykenneth/p5.js