json and data post fix

Fix for Chrome as it doesn't currently support .responseType = 'json'

Also post/get data was inserting & rather than = betwen key and data
Merge pull request #1 from benaadams/gh-pages

json and data post fix