Fixing some js and css require stuff