getActiveViewportElement = function() { // TODO: Fix this, just hardcoded for now var element = $('.imageViewerViewport').get(0); return element; };