Andrew changed events.js to include the bindEnvironment
Changes