update to flash.js