updated challenge.js