Checks if options has xhr)

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>