Update index.php

Added CORS headers
Merge pull request #2 from 930913/patch-1

Update index.php