[Nestor] Fix cordova module compile errors