Add untested WD.js compatibility layer