Add javascript, added media queries