Ajax changes. Create ajax requests to node.js server. Add loading.