cleaning models (html and scripts)