module.exports in function definition
Init hamming for JS