ad documentation for all javascript
remove uncecessary files