         getIframe = ->
           modalId = settings.modalId ? $uploader.data('modalId')
           if modalId
-            $uploaderIframe = $("##{modalId}").find('.js-uploader-iframe')
+            $uploaderIframe = $("##{modalId}").find(settings.iframeSelector)
           else
-            $uploaderIframe = $uploader.find('.js-uploader-iframe')
+            $uploaderIframe = $uploader.find(settings.iframeSelector)
           $uploaderIframe.first()
 
         initIframe = ->

  methods =
    init: (options) ->
      settings = $.extend true,
        {}
      , options

      throw "host isn't defined" unless settings.host

        if settings.open ? $uploader.data('open')
          openUploader()
        else
          $uploader.find(settings.openSelector).on 'click', (e) ->
            e.preventDefault()
            e.stopPropagation()
            openUploader()
