Update boxlayout.js