got the example running again
added use strict lines to all files
passed execution value to success and failure handlers