additional compiler conditional, since BitmapData's threshold method isn't implemented on html5 target