add jquery to write page