attach jquery^s on method to document instead of the element itself. the element isnt available, when the script is loaded