add license for js files