ajax made async! javascript refactoring
start from arbitrary point in database using db_offset_x and db_offset_y