https://www.php-resource.de/forum/php-developer-forum/35837-probleme-mit-smarty-javascript