Fix null pointer exception in decode.htm