Fixed global js file for homepage toggling and choosing a file on uploadpage, needed to put the custom.js file in b/w jquery and jquerymobile.js and needed to use #pageid init binding