JSHint cleanups