error handling: alert when error occurs. move log setup to try block to let chrome can debug the app.
error handling: alert when error occurs. move log setup to try block to let chrome can debug the app.

timepp/jsrunner,timepp/jsrunner