add a try/catch so servicerequest run on desktop

Open-WebOS-DCO-1.0-Signed-Off-By: john mcconnell  johnmcconnell@yahoo.com
change to window.

Open-WebOS-DCO-1.0-Signed-Off-By: john mcconnell  johnmcconnell@yahoo.com
Merge pull request #8 from micro-tech/master

add a try/catch so servicerequest run on desktop