added main lib js
updated README