Replaced .live() with .on() method

Replaced .live() with .on() method according to http://api.jquery.com/on in order to ensure the compatibility with jQuery 1.7+
Merge pull request #29 from maximaker/master

Resume compatibility with the latest version