Fixed jslint error, fixed failing tests, fixed missing updateBordersCall

Fixed the JSLint error reported by the CI build, fixed failing tests
caused by opts.allowEmpty in the get function, and fixed missing update
borders call in one of the new samples