Fix for rendering in IE9 and added templates for editing groups