Fixed access-control-allow-origin permission. Removed debug info