An implementation of ncurses for the web browser