comments in js, minor layout/scrolling fixes