dynamically added javascript modules in DOM

Much better bugtracking possible, also much nicer code...
remove old way of embedding dynamically added javascript modules