Update app/assets/javascripts/lightbox.js

Grabbed careilly's changes to fix for jQuery 1.9.0.