Javacript code to get the hash from an url (given or current)