Adding some conditional logic for img src attributes

Using bxSlider, we were getting errors when our image resources already had query string parameters, and the server (facebook's) was throwing a 400, interrupting the instantiation of the slider. Just adding some simple logic to take that into consideration.