Adds backend Ajax structure