javascript remove and css / html cleanup