add javascript_errors widget (and refactor ungroup a bit)