Then why not also define it in cordova?