more work on node and mat ajax