adjusted HTML w additional classes and ids when necessary