Remove multiple AttachmentsView.add calls
Use jquery inner/outerWidth, inner/outerHeight methods. Add deprecated log message