Implement the table to JS/UI.

Right now Firefox displays an unhelpful error message.