Added ability to get text input from hash or querystring (naive)