Added some cleanup for html documents

Body is extracted and id's are renamed to aviod collision with app. Also
script and style tags are removed.