Trying again with a gem to set cross origin.
Handle games json in route.