Attempted Javascript port of "Scriptbots" project (originally by Andrej Karpathy)