How is the form "written in JavaScript"? Is it dynamically generated? In any case, can you just send a POST request if you know the values required?