Modify to use JSONP, set appropriate content type.
Client side jsonp fixes
Merge pull request #6 from cjeast/cjeast/jsonp-fix

Modify to use JSONP, set appropriate content type.
Merge pull request #7 from RomPog/rompog/jsonp_fix

Client side jsonp fixes
Fix legend, remove unwanted functions
Merge pull request #8 from cjeast/cjeast/fix-legend

Fix legend, remove unwanted functions