- added JS for removing empty <p> tags