solved challenge.js
solved debugging challenge.js