Update main.js

Added timestamp in option object which will be used for namespacing event.