added a little documetation to the readme and a licence to the js