CLJS-489: refactor browser-REPL implementation + add usability and automation enhancements