code clearing with jsHint