Change Log 2013-12-16-A

Code Refactoring and Clean up
1:  Place error handling code and call to client-side script process
inside “if {} “ block
2: Added null check on error array - if (!err)…