set less.hasFinished to refresh() promise

fix white space

return promise on modifyVars