         self.body.on 'click', 'div.drm-blackout', self.removeLightbox
 
     createThumbnails: ->
-        links = @images.find 'a'
+        _links = @images.find 'a'
         thumbnailList = []          
         thumbnails = ''
 
         # populate imgList array
-        links.each ->
+        _links.each ->
             thumbnailList.push $(@).attr 'href'
 
         # create html for thumbnail-list

###############################################################################
"use strict"

class @DrmLightbox
    constructor: (@images = $('ul.drm-lightbox-thumbnails'), @speed = 300) ->
        self = @

        thumbnails

    createLightbox: (thumbnails) ->
        _img = $(@).attr 'href'
        # html for the actual lightbox
        
        imgVisible = $ '<img></img>',
            class: 'img-visible'
            src: _img
            alt: 'thumbnail'

        close = $ '<button></button>',
