add basic support for processing.js