Basic JSHint fixes