JS fix in FB