Update dataset.js

Allow dataset minLength of 0