improve flash video to canvas feature
improve currentScript detection