Port to JavaScript-mode Processing.