static/js/facebook.js: redirecting user after facebook login