improve the three feature region and add some js code