Added get points ajax call
added some tests