Create def.js