Update bitsetWrapper.js

fixed spotted bug.