fix wordpress javascript