Update directory.js, main.html

Gets first two blocks of ip to see if on campus