use document.location.hostname so this can be tested on www.staging.urbandictionary.net