I have a passing familiarity with JavaScript, enough to write a simple gardening calculator. I'm already writing a gardening brute-force Ruby script to figure out what every possible combination of seeds and cultivation results in, so translation of that should be pretty straightforward.