ajax with post returns currentPosition