Added javascript
Reorganized js files
Fixed some paths