Tweaks to cordova interface for document handling. Added helixready event.