added better errors and REPL into my webpage.