optimizing sending js and css files