Javascript to change color based on window width