djb2 hash in js