add license as comment to js file