Fixes the breaking of other JS code.