Update window-location-origin.js

Added port number and made the value non configurable