Fix detection of VE to use isAvailable

Bug: 52369
Change-Id: Ie6e9c218135bf223e84608d28ea72d9de8f85483
Fix a missing .text() on mw.message call.

Change-Id: I83af78d4f5db2e5ae47fb48afc116fd8075db026
Merge "Fix detection of VE to use isAvailable"
Merge "Fix a missing .text() on mw.message call."