cleanup spaces in viz.js
handle text drops