I haven't actually used Javascript at all, I think it's mostly to make your game look different, instead of being the usual white text black background.
Still, glad to see I've inspired a new writer!
Oh, and this is what PokeBreeder looks like behind the scenes, I can't fit it all on my screen and it's not even close to being done yet!