Merge pull request #6 from dciccale/master

Make code shorter
Fixed typo

"NPM onliner" -> "NPM one-liner"
Merge pull request #7 from dciccale/master

Iterate existing levels array.
Removing redundant semi-colon.
typeof is not a function remove parens