Create hex.js

hex version.