javascript attachment for the error handling