Export Main.js, add doc script in npm scripts, eliminate Gruntfile