#386 Fixed js bug when arp was not set