Create box.js

js for lightbox