Compatibility with redmine 2.6+

Properly migrate from .live to .on as described on http://api.jquery.com/live/ instead of porting a deprecated function.
Merge pull request #8 from baumgartnerniels/master

Compatibility with redmine 2.6+