changed live() to on() for upgraded jquery