Removed commented code
Added CORS support.