Bug 943165 - visual adjustments to contact prompt header

because we need to check the class, finally I choose to check individual properties. Tell me if you'd prefer that we still use outerHTML.