#1798 - fixing javascript error on promotions page

also fixing width of env selector on many pages
Merge pull request #1842 from jlsherrill/jserror

#1798 - fixing javascript error on promotions page