expose lib in browser now, add index.js, remove extra deps