Add defer to jQuery