added flashmedialemend.js support for ie7 and ie8