Simple Logger using Ajax