Assembly converts juvenile courts into criminal courts