Abandoned facebook javascript login and adopted fb oauth example, twitter login.