modifying jquery for popcorn.js to get it working