copying sh and js files to dist.