Shift is down fix and jsHint fixes
Merge pull request #19 from smfoote/shift-fix

Shift is down fix and jsHint fixes