Flash JavaScript API enhancements

- only make JS callback async if currently inside a JavaScript event loop (so that events fire in order)
- call jwplayer.playerReady immediately if ExternalInterface is available, and increase check frequency if it is not