add copyright note to javascript file