minor change to draft index ajax