Added checks for incorrect usage of innerHTML. Fixes #1370

Weird, I thought the FB linter complained about double quotes.