make admin weights page more efficient; update analytics.js, fix cookie_setup.js so that it is guaranteed to modify url of widget after widget has been loaded on page.