Set README.md up with images and link to example
added licence to js file