point default ES url to browser's window.location.origin

This will just work accross nginx and plugin installation examples.