Spears married Federline , a former backup dancer , in October , 2004 , eight months after the annulment of her first marriage to childhood friend Jason Alexander .