added global error handling for ajax requests
added license info