ajax POST function

it really was about time