precompile lightbox