network_service.js updated for Android