moving functions of visualization to js, adding forgiven mosaic.js
forgiven .js files