fixed JSHint in some files