jsHinted code

Just found a few linting errors. :)

fixed mixed spaces/tabs
removed trailing whitespaces
combined var statements when needed.
Removed unnecessary var declaration on line 13.
Changed != to !== on line 7
Added radix params to line 27 http://nicolaasmatthijs.blogspot.com/2009/05/missing-radix-parameter.html

Signed-off-by: Ryan Tvenge <ryan@tvenge.me>