Moving FB JS out of the HTML (issue #301)