Update src/ui.js

boxselector is not initialized in ui therefore cannot be used from the api.
I have also sent a pull request in the wax library about a typo in wax / control / mm / boxselector.js
that did not allow boxselector callbacks to initialize properly.