extract: fix dictionary path resolve for basis.js prior 1.0