changed javascript to hidden inputs instead, the javascript wasnt loaded...

... correct