I just made this sketch to show that you can use JavaScript in your embedded webpage on the Arduino. I didn't use an SD card, or an external link. I've just put the pong game made by Joe Nesbella in an html page and then into to sketch.

It's just a proof of concept.

the sktech is about 10856 bytes and doesn't use much of SDRAM thanks to avr/pgmspace.h (a buffer of 110 bytes)

So now you know you can all make fancy webpages for your pin toggling web paged Arduinos.

Yes I can. I've already attached the sketch in the first post, so you can download it. Remember that this only is a simple webserver, that feeds you a webpage with pong. It doesn't use the arduino to handle buttons.