console.js fixes

Prevents an error caused by trying to add a new row to a table of options.