Fix minor bugs.

Fix css transform bug in safari.
Use hostname instead of name in autofill.

Change-Id: Icd7baeff0a9fa1f1a8cbe14e28775a6a2ed28be8