removing reload js method for ajax method