Update def.js