King James comes of age to book quarter-final berth