Getting version with ajax