Pull hex.js out of the js/ directory to the top level