Firefox support via addon sdk
Adjust code to accomodate latest fb update