I currently use https://repl.it/ for an in browser interpreter/repl.
https://github.com/fatiherikli/fil#adding-new-interpreter
++++++++++[->+++++++<].
I have a K interpreter[1] that could be adapted fairly easy to a system like this. Other good candidates include JSForth[2] and NGN APL[3].
[1] https://github.com/JohnEarnest/ok
[2] http://home.diphi.com/users/jeffr/forth/jsforth.html
[3] https://github.com/ngn/apl
Maybe this is a line buffering issue?
I currently use https://repl.it/ for an in browser interpreter/repl.