cookie fix, json-p support
Merge pull request #398 from patriot1burke/master

cookie fix, json-p support