refactored layout creation
introduced DOM structure for header incl javascript specs