Basic js architecture
Merge pull request #4 from s0ber/feature/js_arch

Basic js architecture