Fixes some silly js syntax bugs in gulpfile
Adds helper function and loop to set up watch tasks for each group of files to watch