Bug 976272.  Use DOMString for HTMLElement.className, and mark it as [Pure].  r=smaug
Bug 976305.  Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method.  r=bholley