address media query tweaks, fix javascript image load