add ajax call to status in editmovie.ejs