small fix for compatibility with ie (bug innerHTML), related to the issue #29