Fixed examples in README + added example.js
Makefile fixes/improvements