Changed html header collection to a list to preserve order.

closes #196