Updated errorcheck.js to include solutions and functionHeaders, and removed outputArray and challengeId as necessary fields.