Update draw.js

// draw
//            command.execute();

calling it again even its called by the previous line new dwv.tool.DrawShapeCommand declaration then its executed two time