Fixed issue #08378: Copying a template does nothing (javascript error)
Dev: d8fdf83ed73f2da4f6c9f6a79d364f3c52b07151 child
Dev: reset remove default js included in AdminController, need to register it again
Dev: good idea to move all allways needed js file in endScripts_view ?