Script hosting framework for processing.js