Fix FB JS errors