Remove stats controller
Removed inline JS methods
Build stats controller
rendered html