add LF for script & link tag
add reverseOrder method