try copying data fileand don't crash for JS