update the client side JS to use the new config.page.summary which includes weightings and all data needed
fix jshint error for == instead of === on strings