compile repl.tj and utils.tj in bootstrap to js

compile repl.tj and utils.tj in bootstrap to js, fix some bug