Add hash support

When the page detects a hash in the URL, it will now autopopulate the
input field. Also fixed some whitespace issues in data.js