extract js and css