added route and method for getting ajax call from Node.js app