Progress.
Added grunt minification task.
Added a lot of mocha unit tests. More to come.