data finished, html cleanup prepared for angular