Fix Compatibility Issue with jQuery 1.9

$().live is deprecated from jQuery 1.7 and removed from 1.9. Use $().on instead.