WDYT about adding a widget JS that exposes this functionality via a function and calling that? That line of JS w all the escaping looks pretty daunting to debug/update.

```
 change="function( f, v, o ){ ACS.wcm.vanityCheck(f,v,o); };
```

where `ACS.wcm.vanityCheck` is defined in some widget JS file?