put initialize at top of main.js, made its code global, modded html accordingly

what was initialize() is now globally scoped code in main.js.  I
believe that scripts in <body> run automatically, obviating the need
for an explicit hook.