added jquery version cause addeventlistener isnt always supported and dont bother with attachEvent