remove useless js and fix a delete post bug about background color.