publish page, javascript finished