Teen jailed for Facebook 'joke' is released