I\'m really new to JS and stackoverflow but not new to coding so forgive me if this has already been answered somewhere.
The reason to do it the second way would only