the try/catch should only span arround this line.. all remaining statements are jquery internal and shouldn't throw a exception in this case?