Update index.js

cleanString does not need to be redefined each time prettyTmpDirName is invoked