Fix getAttribute() shim to work in Firefox too (for use in standardizing order and semi-colon insertion across browsers)