Fixed JSHint config

Fixed artifacts path and check if artifact creation is actually enabled