Control h-bridge pins over Ethernet shield

zoomkat:
Fancy web stuff will take a lot of memory if contained on the arduino. You could keep a big web page on your desktop and just have the arduino do the control actions. Below is some test code that includes an iframe and status: 204 to keep the basic page from refreshing. You can open the serial monitor to see some of what is happening when using the control links.

That is in a way the goal I want to do. What I was thinking now is that I host a javascript file on the SD card and serve that to the browser on the computer and run the HTML code from the Arduino like normal. This way the network doesn't need to be on the internet in order to get the javascript file. By using the HTML 5 canvas element it opens up a lot of capabilities for game controllers and some decent looking UI controls. So what would be the best way to serve the JavaScript file to the computer over the network?