initial commit of hilary

adds hilary.js and some test coverage