Fix for missing app key (redirect to / if none, complete with client side script to clear Facebook hash