UC-90 Made some changes to update mobile for new FB

This mostly amounted to making sure the newest JS SDK was being loaded and removing some cruft.

Also updated to current style guidelines.

https://wikia-inc.atlassian.net/browse/UC-90
Ah, I think the problem is the invoking parentheses. Should be: 

```element.onerror = errorFunction;```