Don't set innerHTML when contents didn't change
Merge pull request #496 from Dandandan/master

Don't set innerHTML when contents didn't change