Update ViewEvents.js