window.location.hostname is empty on chrome on OSX when running from a file:// address
handle this for testing purposes
Update external scripts to point to function locations so you can tenst the showbot out of the box