fix livereloading bug on non-localhost machine (it is currently hard-cod...

...ed as localhost)