Javascript identicon generator