Fix all JSHint warnings