fix #56: grunt build added
jshist options for node/browser
fix #57: middleware clean-up