Added checks for incorrect usage of innerHTML. Fixes #1370

I don't think saying "look at the docs" is particularly helpful – isn't that the natural response to any error you don't understand? Might be nice to provide a direct link to the docs or a gist explaining (fb.me/something) though. (also nit: period at the end of the sentence.)