document.createElement may cause complie error