update define.js