Java script forks