Added licence in README
Separated node-style code from browser exports