Mobile Javascript Development

Community Novice

Are there any resources about how to do custom javascript for mobile devices?  For instance, does jQuery work in mobile, or is there some other framework that should be used?  How do you call the Canvas API from your javascript code?  When writing data to the screen, do you use HTML or is there some other markup that is needed?

I recently had a request from a student to make a feature, that we have available on the web, available in the mobile app.  I thought it might be as easy as taking that javascript code into a new javascript override file and adding that file in the Theme editor.  But that doesn't seem to be working, so any help would be appreciated.

Also, how do people go about debugging javascript on mobile devices?