Added Error Function for handling ajax failure
Merge pull request #29 from TaviscaSolutions/ajaxErrorHandling

Added Error Function for handling ajax failure