Event button hanlder with on function. Needs jQuery 1.7+
Merge pull request #25 from AxiaCore/fix-button-handler

Event button hanlder with on function. Needs jQuery 1.7+