add goog.events as plugin