Allow text/javascript response.
Merge pull request #29 from Tekki/master

Allow text/javascript response.