JSHint validation of movement.js