add copyright to js files