fix inline display of script and styles in elements panel