lib: adopt to ssa.js changes