removing inline styles and scripts