update onecontest.js