moved meta charset to the top of the head

fixes Bug 944547
https://bugzilla.mozilla.org/show_bug.cgi?id=944547