A javascript module for generating hashcodes of objects