Fix for not-working repl js in index.html
Started to port js code