remove javascript and add css components