updates to processing js example