Added property for switching beetween  or  request via Ajax.