fix bug js, layout group