If you are using jsframe, and jquery at the same time, the "on" method conflicts with the jquery "on" method.