Replaced live() method with on() method

According to jQuery's docs the live() method is deprecated for jQuery
versions 1.7+ Since I'm using 1.9.1 I needed to change this, otherwise
I would get errors.

See also: http://api.jquery.com/live/
Merge pull request #1 from BjornW/master

Replaced live() method due to it being deprecated in jQuery 1.7+