fix old reference to $element

data-uk-button triggered error when clicked due to old reference to $element
Merge pull request #565 from malles/patch-1

fix old reference to $element