HTJ2K decoding in a browser