Add gulpfile and package.json
Another fix to handle selected option if it's not the first (old code wouldn't start list until the selected option was encountered)
Remove more duplicated code