Add chosen support. Add html head, html tag to correct html