How to use $.on() for my forgeting