Bugfix, used jQuery instead of DOM element.