Update bindonce.js

workaround issue #42