no longer catching error if ExternalInterface call fails.
added additional checks for JavaScript.available.
Added WeaveAPI.traceLog as a fallback in case weaveTraceImpl is missing
and trace() output is unavailable.