Copy map along js files