Use jQuery.on instead of deprecated (as of v1.9) .live