JS staging server fix