Popup: Remove initSelector from options.
Popup: Attach the link handler with .on() not .bind().
Popup: Use proper variable names in function fitSegmentInsideSegment().
Popup: Use proper variable names in function windowCoords() and rename windowCoords() to getWindowCoordinates().
Popup: Rename variable elem to theElement wherever it is used.
Popup: Rename variables related to options (both widget options and options passed to open()).
Popup: Rename prerequisites-related variables.
Popup: Rename variable holding document fragment.
Popup: Renaming variable "evt" to "theEvent".
Popup: Rename variable winCoords to windowCoordinates.
Popup: Clean up target-related variable names in function _handleDocumentFocusIn().
Popup: Renaming variable el to theElement in _setOptions.
Popup: Fixing tolerance-related variable names.
Unit tests: Popup: Updating to reflect new key names.
Popup: Renaming variables cx and cy to width resp. height and x and y to left resp. top.
Popup: Renaming variables inside function _desiredCoords and renaming function itself to _desiredCoordinates.
Popup: Shortening some long lines.
Popup: renaming variable parsedDst to parsedDestination in function _closePopup().
Popup: Whitespace.
Popup: Shorten some long lines.