use emcc and js in src Makefile. Closes #1.
added c++ example  and updated README