309 ie8 fixes

Hopefully the scope isn't too large as it involves a fix to flash as well as ie8 specific issues but it was what was needed to get the player running in ie8.

Many of the methods included are straight copies from JQuery. There aren't any direct references to JQuery in the project so far so I figured you were avoiding that dependency? In any case I figured why reinvent the wheel, so I copied them over. I hope that's okay.