updated deprecated 'live' jQuery method to 'on'