I've bundled together the OWL carousel jQuery plugin and some code to produce a "retina effect" (Apple-like Retina Effect With jQuery | Tutorialzine) together into one file. If I host it on my google drive, it works fine in Google Chrome and Safari, but not at all in Firefox. If I host in on my org's development server, it only works intermittently in all browsers. There are no errors showing in the console when the code works and none when it doesn't work.
Does anyone have any idea of what could be going on?