add lightbox and google map to dynamic template