restructured js and css files