write page_js into cach