fix jshint issue in measuring tape, see #68