Replace deprecated die() and live() jQuery methods. Use .on() instead