Fixed a bug in hex code display.

Updates HTML and JS. Now HEX code works perfect.