Bugfix: getText() method is called on undefined variable

Sometimes getText() method is called on undefined variable which crashes node module and fb chat is unavailable then.

Simple bugfix is provided in this pull request which is tested in development environment of my team.

We need this module to be stable, so please review code quickly and merge it to the master branch.