trying to optimize js and css delivery