D: Cleanup the way that we deliver javascript

Clean up the way that we deliver javascript. Deliver minified javascript along with full javascript, update tools for this. Make less of an exception of the shell package. 
Why is this here?