Added a helper function to main.js for challenge making
Added a helper function to main.js for challenge making

otavioarc/freeCodeCamp,raisedadead/FreeCodeCamp,HKuz/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,otavioarc/freeCodeCamp,BhaveshSGupta/FreeCodeCamp,raisedadead/FreeCodeCamp,jonathanihm/freeCodeCamp,FreeCodeCamp/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,pahosler/freecodecamp,jonathanihm/freeCodeCamp,BhaveshSGupta/FreeCodeCamp,HKuz/FreeCodeCamp,pahosler/freecodecamp