Replace jQuery .bind() and .live() with .on().