Working DB points from ajax??