Create macaddr.js

add check mac address