Add legacy js file