Update core.js

lightbox bug fixed
//.not('.lightbox')