remove func fix for p5js.org

This fixes an issue with restarting the example sketches on p5js.org. I'm not sure if it's the best fix in the long run, but hey, it works!