Added licence information to the javascript module