fix DOM insertion operators for null values

Closes #670
Merge pull request #4 from madrobby/master

Fixed err when .html and append use with null as input