Javascript code cleanup. Concentrate the error handling in one place.
Javascript code cleanup. Concentrate the error handling in one place.

albfan/godbg,sirnewton01/godbg,albfan/godbg,albfan/godbg,sirnewton01/godbg,sirnewton01/godbg