jb.js modified