Crews on Long Island get upper hand of brushfires