Function Within Function In Javascript Freecodecamp Tutorial