2014-07-21 : move compareNewLink codes to func,  update tochref add filtle javascript: link