Generate Hexadecimal String Javascript Example