changed bootstrap element class strategy to create classes later