Making the app run with a CORs enabled couhdb