fixing common view and page_link.js