Altering the fix_dropdowns function to use DomDocument parsing for
some things.
PS2: 1 character regex change for lazy lookaheads

Change-Id: Id0bb53b8dc0a5db8944987ab8c9e2cd20f777220