Adding js target, only publish to artifactory if everything succeeds.