copy js files to separate js dir