set up interchange for media querie responsive images; initializing js