Fixed spurious characters in datalist.js. Fixed handling of cordovaReady in the event cordova is not present. Removed debugging statements.