fix default api url to work on IE8
Merge pull request #9 from ghedamat/mattia/default-api-endpoint

fix default api url to work on IE8