Added licences to JS files