Be very careful with your use of case. KiXtart is case-insentitive, JavaScript is not.

You've mixed "Value" and "value", and these may well refer to different things.

I've frequently spent time staring at code which is obviously correct for ages before spotting case issues.

I'm a little confused why you have both console and GUI input - are you going to create an IE input page later?

Also, what do you mean by "how do I pass the extra parameters"?