Try Catch Exception In Javascript Call