box improvements
missed lib/tools/box.js added