fix non-jquery ajax call
Merge pull request #2 from dimsemenov/patch-1

Fixes typo in vanilla ajax call