I always start out with the generator and I always have to fill in the onload functions I'm guessing this would be useful to other people too Otherwise you just get "can't add listener to null"