CLC-4443 DRY the static assets setting

Following @ctweney 's pointer on https://github.com/ets-berkeley-edu/calcentral/pull/3106