Some JS modifications.