Js List added error ajax call