added script and media queries