template use innerHTML on normal nodes
fix setting get-only property error in phantomjs