Improved boxing.js