Update events.js

just sticking to xml/html standard attributes are used with " instead of '
btw: some languages (e.g. js,php) allow variables in "text" and thus 'text' is parsed faster