js script changes