testing image load issue - jscript code now executes after the window has loaded