update codec and JSVM decoder