Remove use of deprecated .live() function of jQuery