Squashed commit of the following:

commit e1896017c7f59a58ddd340f1ac1a0a7e01bc370d
Author: edgifyjp <jon@edgify.co.uk>
Date:   Wed Dec 17 20:56:45 2014 +0000

    allow recording and playback of 'error' ajax calls