added license for contracts.js