Fixes script tags and meta tag