cleanup html and move ast to production