cleanup in case templates and browserify is not userd