remove hardcoded value in cordova