alternate way to deal with ajax posts.