fix no network bug, missing cordova.js entry