Test Device Ready

Test Device Ready, stopped working yet to figure out the cause
Test Test

Made some correction  remove body's onload function
Added Console  logs to catch why