removing non-essential libraries and css