Improved edit link switchover when CORS support absent.
Merge pull request #30 from pjackson28/master

Improved edit link switchover when CORS support absent.