create scriptfile containing scripts for all used components. And create a script tag at the end of the body tag, where this file is src