shadow.js translated