Small js which handles facebook connect implementation for PhoneGap, JavaScript usage.