added ajax library, not fully functional yet