Fixed case where toolState doesn't exist at all. (examples/brush worked, but index.html didn't)
Fixed case where toolState doesn't exist at all. (examples/brush worked, but index.html didn't)

cornerstonejs/cornerstoneTools,cornerstonejs/cornerstoneTools,cornerstonejs/cornerstoneTools,chafey/cornerstoneTools