valid markup update of script tags and link tags.