Added js version
Reorganized directory structure