M B 1 - the version for Javascript (Processing.js)