Chooses the first available main file if bower returns more than one file for a package.
Use set undefined instead of delete
Changed inaccuracy in how section