updated README with install instructions and javascript examples
added license