switched depreciated jquery "live" to "on"