reworking js files for PointFinder