ESLint doesn't know that the variable FB is a global. You can declare a variable you referenced as a global by adding the following to the top of your file:
/*global FB*/
For more information, check out the "Rule Details" section on the official ESLint docs: http://eslint.org/docs/rules/no-undef