Changes in the clientside javascript:
* Template-specific javascript is now in the TemplateHandler-class
* Removed unused variables
* The names of the HTML containers are now defined in the TemplateHandlers
* Updated documentation (PHP and Javascript)