Avoid unnecesary & in the first get parameter when ajax
Merge pull request #14
Support extra options for xhr