added copyrights to js files