Passing csrf token in ajax method.