Allow cross-origin requests to make it usable from javascript.