Use on instead of live jquery event