added timeout to XHR request
Merge pull request #24 from gerbal/grant-dev

added timeout to XHR request