move jquery calls to after jquery loads