Fixed compatibility with jQuery 1.7.2+
Added JSFiddle demo, notes about compatibility