Changed jquery .live to .on