Javascript prototype to manage history via hash.