extract: fix issue with basis.js 1.4