.live() is deprecated, use .on() instead

According to http://api.jquery.com/live/, .live() is deprecated. We should use .on() instead.