To do cors i had to do a jsonP request