JS - HashState