fixes preloading of Facebook SDK