fix mistake in tagcloud.js

the `result` returned include a variale root, which is not refered in
`tagcloud.js`.
so the after require(`lodash`), config and root should be set.
Merge pull request #288 from iLeoDo/master

fix mistake in tagcloud.js