HBT helper "phone" produces error when input is undefined

```
Uncaught TypeError: Cannot call method 'indexOf' of null 
```