our js code style will not allow loose type comparisons - does replacing with this work?:

```
} else if (input.val().toInt() === 0) {
````