Please refactor to use tableWrapper.contentEditable( false ); - basically just uncomment the line.