fix flash.js decoding