export fb, also check it exists
Merge pull request #5569 from guardian/fb-available-issue

Fix 'FB undefined' issue