Use `parseInt()` instead.

It's usually a good idea to use `parseInt()` over the `Number()` constructor ... mainly because `parseInt()` can deal with errors or extra text in its input.

\- Jonathan

__P.S.__ Sorry for jumping into your project like that ;p ... LOL.