Mozilla is laying off 250 people and planning a ‘new focus’ on making money