Update ai.js

right version