translated shadow.js