revise opencpu.js