add cors support
fixed ajax success data format error when $.cors is true
Merge pull request #8 from bolasblack/master

add cors support