rename classes, draw event structure, append content, rebuilding js structure