Debugging why notes_resources isn't getting link from JS