add class name to div surrounding result message