use cors library
Merge pull request #59 from piep/cors

use cors library