Setting up JS for responsive.