iOS only: use invoke url only if it starts with fb
remove unused FREContext
use try catch to avoid crashing the app