add license to script.js