update to new basis.js