Only load js and css when there is region data from gm3_region_data; it's not necessary to take out the space after 'POLYGON'.