replace deprecated .live with .on