lint fix

Some lint fix, removed BOM in src/upgrade.js
This needs a better check in case data.after is null/undefined. `parseInt(null, 10) < 0` is false `!parseInt(null, 10) >=0` is true.

Maybe it should use `!utils.isNumber(data.after) || parseInt(data.after, 10) < 0`