Jawaharlal Nehru University retained its position as the country's second best university while Jamia Millia Islamia rose to the third spot from its sixth position last year, according to the Ministry of Education's National Institutional Ranking Framework (NIRF).