Trying to make an ke an Ajax request for flash notice, doesn't work