Further cleaned up facebook.js