update ot.js to v0.12