Fix Ajax "same origin policy" issue when port != 80 by using window.location.host
Merge pull request #3 from mouadino/master

Fix Ajax "same origin policy" issue when port != 80 by using window.location.host