cleaning html structure + remove useless css rules