func Listen(event string, handler Handler) *EventListener {
	console.Log("Adding jQuery event listener")
	listener := func(event *jquery.Event, data *js.Object) bool {
		return handler.HandleEvent(event, data, url.Values{})
	}
	jquery.NewJQuery(js.Global.Get("document")).On(event, listener)
	return &EventListener{event: event, listener: listener}
}
// Listen attaches the Handler to the window and begins listening for the specified
// jQuery event, reterning an EventListener object
Listen attaches the Handler to the window and begins listening for the specified
jQuery event, reterning an EventListener object
// Listen attaches the Handler to the window and begins listening for the specified // jQuery event reterning an EventListener object
func Listen(event string, handler Handler) *EventListener {
	console.Log("Adding jQuery event listener")
	listener := func(event *jquery.Event, data *js.Object) bool {
		return handler.HandleEvent(event, data, url.Values{})
	}
	jquery.NewJQuery(js.Global.Get("document")).On(event, listener)
	return &EventListener{event: event, listener: listener}
}
func Listen ( event string , handler Handler ) * EventListener { console . Log ( " " ) listener := func ( event * jquery . Event , data * js . Object ) bool { return handler . HandleEvent ( event , data , url . Values { } ) } jquery . NewJQuery ( js . Global . Get ( " " ) ) . On ( event , listener ) return & EventListener { event : event , listener : listener } }
Listen attaches the Handler to the window and begins listening for the specified
jQuery event, reterning an EventListener object
Listen attaches the Handler to the window and begins listening for the specified jQuery event reterning an EventListener object