Added license notice to index.js.