#1798 - fixing javascript error on promotions page

also fixing width of env selector on many pages