cleaned out comments and put in a delay for pages that update via ajax