Yup, delaying the jQuery solved it.