Fixing total.js problem running with node.js version v0.10.26. that
always give me error at pass the directory path.