Shift is down fix and jsHint fixes

Fixes #13