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
I agree this could be clarified a bit. Maybe we could just use a forloop instead? I find those to be the easiest to read. Especially b/c this while loop depends on an incrementor and doesn't have a break. It's weird.

```js
for (i = 0; i < path.length < i++) {
    url = path[i];
    path[i] = getUrl(url, type, params);
}
```
I'm game for either change though.