Expands or contracts a polygon (point array) using JavaScript