added getLifecycleName to artifact.js