now calling IMRelay javascript functions onready and onload
loading log from localstroage on window load event
connect should work with autoip and dhcp (autodetect not fixed)