added copyright to js files