Corrected challenge.js so spec.js runs without error.