Replaced $().live with $().on