Update comments for modifier.js.
Clean up vex.js and change logging mechanism.