Update get_points.js

Changed pointMap from object to array