init basis.js implementation