removed uglifyjs v1 support
Template class cleaup