changes to challenge.js