cleaner implementation of hostname
user-select in correct format
Merge pull request #1 from samitheberber/safari-fix

Slight hostname fix and selectable input fields for wider browser support.