Add mouse event listeners.
Move to processing.js version of Processing.js file.