#283 Registration UI update

Since we can't guarantee that the value passed into `parseInt` will be numeric, we have to account for the case in which it returns `NaN` (not a number). To do this, we take advantage of `NaN`'s falsiness to default to `0`:
```js
sum += parseInt(foo, 10) || 0;
```
Same holds true for the other calls in the function.