Adding some facebook and some middleware
Switching to JS facebook SDK