Merged index.html and index.template.html into one file. Implemented auto-initialization of flash/html client