changed facebook sdk javascript embed code (fix for ie8)

Fix for IE8.

See:
http://stackoverflow.com/questions/17100246/document-head-appendchildelement-ie-ie7-and-ie8

ps: I am sorry for the last pull request - never done this before :/