Version 3

First draft of properly open sourced Facebook JS framework. Redundant
code removed and tidied up. User guide coming soon!