Update events_max.js