Change code style a bit
Wrap JS code in a IIFE
Add LICENSE
Update readme