modified weinre script to detect ip address
moved ip var to function, updated README