updated to send 'application/javascript' as the Content-Type
Merge pull request #455 from nelenkov/revenue

updated to send 'application/javascript' as the Content-Type