moved updateAction and initWidgets from configuration.js to common.js