Added debug() Ajax Option for printing error stack traces if they occur