improved processing.js

Change-Id: I4f779954f39cd7b96695faeca62d1e9c06951ced