don't abort when meet first error when logObject
delay load to windows
use setStatusString so it can works with autoArchiveActivity
set script type so it can use latest javascript version