Added support for high-dpi identicons (devicePixelRatio==2).
Changed domain field to type url and added pattern attribute to length field.
Change null comparison to undefined.