Processing.js and hence JavaScript mode handles fonts differently than the standard Java mode:
There was an error while loading. Please reload this page.