add js validation to page 2 / define breakpoints