Fixing ajax call paths based on new node routes