Add spine compatibility for web.
Fix Facebook initialization.