! update toggleButtonAJAX to use .done .fail as the old way has been depreciated.

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #674 from Spuds/script

Ajax format update