Generate Hexadecimal String Javascript Methods For Querying