Changed .innerHTML() to .text() to fix error