add visualdecomposition.coffee and underscore.js. some other fixes