Repairs the fixed availability details box.
Adds requirejs plugins.
Refactors Facebook authentication.