jquery and modernizr location changed