modify gui js -2