Added: main implementation of WWW_Applet#run in javacript