rough layout and js