Refactoring facebook.js method names and comments