remove cdn & other external elements