updating js code: page_link.js