js style bug fixed