Fix to enable the FB templates to work on a different domain