indentation and removal of unnecessary divs