change the order of link element and script element in html-mode/html5