Edited to pass JSHint/Lint (and directives for JShint/Lint)
- most visible change: tabs->spaces
- no *functional* changes
Merge pull request #15 from PacificMorrowind/JSLint-Hint

Edited to pass JSHint/Lint (and added directives for JShint/Lint)