responsive design and js to index.html