replaced some of the js-code and tables with HTML code