Update jquery.flexslider.js

Adding checks to see if method needs to execute.