Updated jhash function and changed some flags