java script changes