finished initial layout and js