change path to /gs in js files