Added ajax call

Ajax call work but am getting a parse error.