fixing for processing.js