changes made in VisDockUtils.js

functions:
visPolygon
visEllipse
visLine