minor fixes, split up main js file, didn't really work though, phone gap fixes