add license to JS file.