Functional changes

Adding event delegate for clicking on link, removing console.logs and
working on CORS issue