Change exec call in js