globally define htmldiff, fix styling issue on edits page
fix cover image upload