Improved ajax node handling to controller section.