Finishing most of the inteactive js for creating challenges.