fixed js file copy