Revert "Added Error Function for handling ajax failure"

Reverts TaviscaSolutions/green-repo#29