Remove FB functions and extra body tags