Fixed @ajax.catch() behaviour