jQuery 1.11 compatibility

Timer in menu stopped working when I've upgraded redmine to version 2.6. The reason was the removal of `live` method in new jQuery (see http://api.jquery.com/live/). I've replaced `live` with `on` method.
Please don't raise a version in a pull request. This is part of the maintainers work.