using .on instead of .live; fixes #1