How to remove old and unused stylesheets from a form