Added GPL license to JS files