Fix JS problems with challenging