refresh originEvents.js