added code to add css classes to head tag