Added project phase attribute to outputScript tag. Datalist bug fixes. Fixed cordova to only initialize after document is ready.