add ajax feature to request