added js needed for making published email uneditable