requirejs, tons of tweaks, major optimization of getPointsTable