use on instead of live in js